$OpenBSD: patch-debugger_Makefile_in,v 1.1.1.1 2011/01/15 13:07:50 jasper Exp $
--- debugger/Makefile.in.orig	Fri Jan  7 19:11:07 2011
+++ debugger/Makefile.in	Thu Jan 13 03:00:28 2011
@@ -54,10 +54,11 @@ LABLGTK2 = @LABLGTK2@
 
 all: obdb1
 
-LIBS = unix.cma threads.cma lablgtk.cma str.cma gtkThread.cmo $(YYPARSE) 
+LIBS = unix.cma threads.cma lablgtk.cma lablgtksourceview2.cma str.cma \
+       gtkThread.cmo $(YYPARSE) 
 OBDB1 = ../compiler/basis.cma debugger.cma debmain.cmo
-obdb1: $(OBDB1) debprims.o ../lablgtk/lablgtk.cma ../lablgtk/liblablgtk.a
-	$(OCAMLC) $(MLFLAGS) -custom -I ../lablgtk \
+obdb1: $(OBDB1) debprims.o $(LABLGTK2)/lablgtk.cma $(LABLGTK2)/liblablgtk2.a
+	$(OCAMLC) $(MLFLAGS) -custom -I $(LABLGTK2) \
 	    -thread -o $@ $(LIBS) $(OBDB1) debprims.o $(MLLINKFLAGS)
 
 DEBUGGER = debconf.cmo binary.cmo info.cmo procio.cmo data.cmo \
@@ -76,7 +77,7 @@ debprims.o: debprims.c
 %.ml: %.mll
 	$(OCAMLLEX) -o $@ $<
 
-INCLUDE = -I ../compiler -I ../lablgtk
+INCLUDE = -I ../compiler -I $(LABLGTK2)
 
 %.cmi: %.mli
 	$(OCAMLC) $(MLFLAGS) -c $(INCLUDE) -o $@ $<
